/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * All Rights Researved.
 *
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 * The values here is not of MTYAxis', but the target axis that being configured
 * The values can be used for display(in textfield) purpose
 * @author: jin Chen
 * @date: Jun 24, 2003
 * @version: $VERSION$
 */
package edu.psu.geovista.app.plot.axis;

public class MTYAxisModel extends BasicAxisModel {
    Range targetAxisShowRange=new Range(0,0);
    Range targetAxisTickRange=new Range(0,0);

    public Range getTargetAxisShowRange() {
        return targetAxisShowRange;
    }

    public void setTargetAxisShowRange(Range targetAxisShowRange) {
        this.targetAxisShowRange.setExtreme(targetAxisShowRange);
        this.fireStateChanged() ;
    }

    public Range getTargetAxisTickRange() {
        return targetAxisTickRange;
    }

    public void setTargetAxisTickRange(Range targetAxisTickRange) {
        this.targetAxisTickRange.setExtreme(targetAxisTickRange);

        this.fireStateChanged() ;
    }
}
